<?php
$config = array(

	'login'=>array(
				array(
					'field'	=>	'email',
					'rules'	=>	'required|valid_email'
				),
				array(
					'field'	=>	'password',
					'rules'	=>	'required'
				)
	),
	'signup'=>array(
				array(
					'field'=>	'name',
					'rules'=>	'required'
				),
				array(
					'field'=>	'email',
					'rules'=>	'required|is_unique[users.email]|valid_email'
				),
				array(
					'field'=>	'password',
					'rules'=>	'required|min_length[8]'
				),
				array(
					'field'=>	'password2',
					'rules'=>	'required|matches[password]'
				)
				
	),
        'post'=>array(
                            array(
                                         'field'=>      'postbox',
                                         'rules'=>      'required'
                            )
        )


);